<?php
/**
 * Created by PhpStorm.
 * User: wangkai
 * Date: 2017/10/28
 * Time: 0:15
 */

namespace app\controllers;
use yii\web\Controller;
use app\models\Test;
class IndexController extends Controller
{
    public function actionIndex(){
       // $model=new Test();
        //$data=$model->find()->one();
       $this->layout='layout1';
       return  $this->render('index');
    }
}